import http from "../index"


//请求前缀
let api_name="/user";

/**
 * 登陆
 * @param {Object} params
 */
export function login(params){
	console.log(params);
	return http.get("/user/login",{params});
}

export function TestLogin(data){
	return http.post("/api/login",{data});
	
}